using System;
using System.Collections.Generic;
using System.Reflection;
using System.Runtime.InteropServices;

using ILRuntime.CLR.TypeSystem;
using ILRuntime.CLR.Method;
using ILRuntime.Runtime.Enviorment;
using ILRuntime.Runtime.Intepreter;
using ILRuntime.Runtime.Stack;
using ILRuntime.Reflection;
using ILRuntime.CLR.Utils;
using System.Linq;

namespace ILRuntime.Runtime.Generated
{
    unsafe class huqiang_UIComposite_DockPanel_Binding
    {
        public static void Register(ILRuntime.Runtime.Enviorment.AppDomain app)
        {
            BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly;
            MethodBase method;
            FieldInfo field;
            Type[] args;
            Type type = typeof(huqiang.UIComposite.DockPanel);
            args = new Type[]{};
            method = type.GetMethod("get_MainArea", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, get_MainArea_0);
            args = new Type[]{typeof(huqiang.Data.FakeStruct), typeof(huqiang.Core.HGUI.UIElement), typeof(huqiang.Core.HGUI.UIInitializer)};
            method = type.GetMethod("Initial", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Initial_1);
            args = new Type[]{typeof(huqiang.Core.HGUI.UIElement)};
            method = type.GetMethod("SizeChanged", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, SizeChanged_2);
            args = new Type[]{};
            method = type.GetMethod("Refresh", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Refresh_3);
            args = new Type[]{typeof(huqiang.Data.FakeStruct)};
            method = type.GetMethod("LoadFromBuffer", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, LoadFromBuffer_4);
            args = new Type[]{typeof(huqiang.Data.DataBuffer)};
            method = type.GetMethod("SaveToDataBuffer", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, SaveToDataBuffer_5);
            args = new Type[]{typeof(huqiang.UIComposite.DockPanelLine)};
            method = type.GetMethod("GetLineID", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, GetLineID_6);
            args = new Type[]{typeof(System.Int32)};
            method = type.GetMethod("GetLine", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, GetLine_7);
            args = new Type[]{typeof(huqiang.UIComposite.DockpanelArea)};
            method = type.GetMethod("GetAreaID", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, GetAreaID_8);
            args = new Type[]{typeof(System.Int32)};
            method = type.GetMethod("GetArea", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, GetArea_9);

            field = type.GetField("AreaWidth", flag);
            app.RegisterCLRFieldGetter(field, get_AreaWidth_0);
            app.RegisterCLRFieldSetter(field, set_AreaWidth_0);
            app.RegisterCLRFieldBinding(field, CopyToStack_AreaWidth_0, AssignFromStack_AreaWidth_0);
            field = type.GetField("LineWidth", flag);
            app.RegisterCLRFieldGetter(field, get_LineWidth_1);
            app.RegisterCLRFieldSetter(field, set_LineWidth_1);
            app.RegisterCLRFieldBinding(field, CopyToStack_LineWidth_1, AssignFromStack_LineWidth_1);
            field = type.GetField("lines", flag);
            app.RegisterCLRFieldGetter(field, get_lines_2);
            app.RegisterCLRFieldSetter(field, set_lines_2);
            app.RegisterCLRFieldBinding(field, CopyToStack_lines_2, AssignFromStack_lines_2);
            field = type.GetField("areas", flag);
            app.RegisterCLRFieldGetter(field, get_areas_3);
            app.RegisterCLRFieldSetter(field, set_areas_3);
            app.RegisterCLRFieldBinding(field, CopyToStack_areas_3, AssignFromStack_areas_3);
            field = type.GetField("Left", flag);
            app.RegisterCLRFieldGetter(field, get_Left_4);
            app.RegisterCLRFieldSetter(field, set_Left_4);
            app.RegisterCLRFieldBinding(field, CopyToStack_Left_4, AssignFromStack_Left_4);
            field = type.GetField("Right", flag);
            app.RegisterCLRFieldGetter(field, get_Right_5);
            app.RegisterCLRFieldSetter(field, set_Right_5);
            app.RegisterCLRFieldBinding(field, CopyToStack_Right_5, AssignFromStack_Right_5);
            field = type.GetField("Top", flag);
            app.RegisterCLRFieldGetter(field, get_Top_6);
            app.RegisterCLRFieldSetter(field, set_Top_6);
            app.RegisterCLRFieldBinding(field, CopyToStack_Top_6, AssignFromStack_Top_6);
            field = type.GetField("Down", flag);
            app.RegisterCLRFieldGetter(field, get_Down_7);
            app.RegisterCLRFieldSetter(field, set_Down_7);
            app.RegisterCLRFieldBinding(field, CopyToStack_Down_7, AssignFromStack_Down_7);
            field = type.GetField("LineMod", flag);
            app.RegisterCLRFieldGetter(field, get_LineMod_8);
            app.RegisterCLRFieldSetter(field, set_LineMod_8);
            app.RegisterCLRFieldBinding(field, CopyToStack_LineMod_8, AssignFromStack_LineMod_8);
            field = type.GetField("AreaMod", flag);
            app.RegisterCLRFieldGetter(field, get_AreaMod_9);
            app.RegisterCLRFieldSetter(field, set_AreaMod_9);
            app.RegisterCLRFieldBinding(field, CopyToStack_AreaMod_9, AssignFromStack_AreaMod_9);
            field = type.GetField("LineLevel", flag);
            app.RegisterCLRFieldGetter(field, get_LineLevel_10);
            app.RegisterCLRFieldSetter(field, set_LineLevel_10);
            app.RegisterCLRFieldBinding(field, CopyToStack_LineLevel_10, AssignFromStack_LineLevel_10);
            field = type.GetField("AreaLevel", flag);
            app.RegisterCLRFieldGetter(field, get_AreaLevel_11);
            app.RegisterCLRFieldSetter(field, set_AreaLevel_11);
            app.RegisterCLRFieldBinding(field, CopyToStack_AreaLevel_11, AssignFromStack_AreaLevel_11);
            field = type.GetField("LayOutChanged", flag);
            app.RegisterCLRFieldGetter(field, get_LayOutChanged_12);
            app.RegisterCLRFieldSetter(field, set_LayOutChanged_12);
            app.RegisterCLRFieldBinding(field, CopyToStack_LayOutChanged_12, AssignFromStack_LayOutChanged_12);
            field = type.GetField("LockLayout", flag);
            app.RegisterCLRFieldGetter(field, get_LockLayout_13);
            app.RegisterCLRFieldSetter(field, set_LockLayout_13);
            app.RegisterCLRFieldBinding(field, CopyToStack_LockLayout_13, AssignFromStack_LockLayout_13);


            app.RegisterCLRCreateDefaultInstance(type, () => new huqiang.UIComposite.DockPanel());
            app.RegisterCLRCreateArrayInstance(type, s => new huqiang.UIComposite.DockPanel[s]);

            args = new Type[]{};
            method = type.GetConstructor(flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Ctor_0);

        }


        static StackObject* get_MainArea_0(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.UIComposite.DockPanel instance_of_this_method = (huqiang.UIComposite.DockPanel)typeof(huqiang.UIComposite.DockPanel).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            var result_of_this_method = instance_of_this_method.MainArea;

            object obj_result_of_this_method = result_of_this_method;
            if(obj_result_of_this_method is CrossBindingAdaptorType)
            {    
                return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
            }
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static StackObject* Initial_1(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 4);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.Core.HGUI.UIInitializer @initializer = (huqiang.Core.HGUI.UIInitializer)typeof(huqiang.Core.HGUI.UIInitializer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            huqiang.Core.HGUI.UIElement @element = (huqiang.Core.HGUI.UIElement)typeof(huqiang.Core.HGUI.UIElement).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
            huqiang.Data.FakeStruct @fake = (huqiang.Data.FakeStruct)typeof(huqiang.Data.FakeStruct).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
            huqiang.UIComposite.DockPanel instance_of_this_method = (huqiang.UIComposite.DockPanel)typeof(huqiang.UIComposite.DockPanel).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.Initial(@fake, @element, @initializer);

            return __ret;
        }

        static StackObject* SizeChanged_2(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 2);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.Core.HGUI.UIElement @mod = (huqiang.Core.HGUI.UIElement)typeof(huqiang.Core.HGUI.UIElement).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            huqiang.UIComposite.DockPanel instance_of_this_method = (huqiang.UIComposite.DockPanel)typeof(huqiang.UIComposite.DockPanel).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.SizeChanged(@mod);

            return __ret;
        }

        static StackObject* Refresh_3(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.UIComposite.DockPanel instance_of_this_method = (huqiang.UIComposite.DockPanel)typeof(huqiang.UIComposite.DockPanel).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.Refresh();

            return __ret;
        }

        static StackObject* LoadFromBuffer_4(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 2);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.Data.FakeStruct @fake = (huqiang.Data.FakeStruct)typeof(huqiang.Data.FakeStruct).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            huqiang.UIComposite.DockPanel instance_of_this_method = (huqiang.UIComposite.DockPanel)typeof(huqiang.UIComposite.DockPanel).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.LoadFromBuffer(@fake);

            return __ret;
        }

        static StackObject* SaveToDataBuffer_5(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 2);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.Data.DataBuffer @db = (huqiang.Data.DataBuffer)typeof(huqiang.Data.DataBuffer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            huqiang.UIComposite.DockPanel instance_of_this_method = (huqiang.UIComposite.DockPanel)typeof(huqiang.UIComposite.DockPanel).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            var result_of_this_method = instance_of_this_method.SaveToDataBuffer(@db);

            object obj_result_of_this_method = result_of_this_method;
            if(obj_result_of_this_method is CrossBindingAdaptorType)
            {    
                return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
            }
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static StackObject* GetLineID_6(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 2);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.UIComposite.DockPanelLine @line = (huqiang.UIComposite.DockPanelLine)typeof(huqiang.UIComposite.DockPanelLine).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            huqiang.UIComposite.DockPanel instance_of_this_method = (huqiang.UIComposite.DockPanel)typeof(huqiang.UIComposite.DockPanel).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            var result_of_this_method = instance_of_this_method.GetLineID(@line);

            __ret->ObjectType = ObjectTypes.Integer;
            __ret->Value = result_of_this_method;
            return __ret + 1;
        }

        static StackObject* GetLine_7(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 2);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            System.Int32 @id = ptr_of_this_method->Value;

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            huqiang.UIComposite.DockPanel instance_of_this_method = (huqiang.UIComposite.DockPanel)typeof(huqiang.UIComposite.DockPanel).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            var result_of_this_method = instance_of_this_method.GetLine(@id);

            object obj_result_of_this_method = result_of_this_method;
            if(obj_result_of_this_method is CrossBindingAdaptorType)
            {    
                return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
            }
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static StackObject* GetAreaID_8(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 2);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.UIComposite.DockpanelArea @area = (huqiang.UIComposite.DockpanelArea)typeof(huqiang.UIComposite.DockpanelArea).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            huqiang.UIComposite.DockPanel instance_of_this_method = (huqiang.UIComposite.DockPanel)typeof(huqiang.UIComposite.DockPanel).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            var result_of_this_method = instance_of_this_method.GetAreaID(@area);

            __ret->ObjectType = ObjectTypes.Integer;
            __ret->Value = result_of_this_method;
            return __ret + 1;
        }

        static StackObject* GetArea_9(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 2);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            System.Int32 @id = ptr_of_this_method->Value;

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            huqiang.UIComposite.DockPanel instance_of_this_method = (huqiang.UIComposite.DockPanel)typeof(huqiang.UIComposite.DockPanel).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            var result_of_this_method = instance_of_this_method.GetArea(@id);

            object obj_result_of_this_method = result_of_this_method;
            if(obj_result_of_this_method is CrossBindingAdaptorType)
            {    
                return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
            }
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }


        static object get_AreaWidth_0(ref object o)
        {
            return ((huqiang.UIComposite.DockPanel)o).AreaWidth;
        }

        static StackObject* CopyToStack_AreaWidth_0(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.UIComposite.DockPanel)o).AreaWidth;
            __ret->ObjectType = ObjectTypes.Float;
            *(float*)&__ret->Value = result_of_this_method;
            return __ret + 1;
        }

        static void set_AreaWidth_0(ref object o, object v)
        {
            ((huqiang.UIComposite.DockPanel)o).AreaWidth = (System.Single)v;
        }

        static StackObject* AssignFromStack_AreaWidth_0(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Single @AreaWidth = *(float*)&ptr_of_this_method->Value;
            ((huqiang.UIComposite.DockPanel)o).AreaWidth = @AreaWidth;
            return ptr_of_this_method;
        }

        static object get_LineWidth_1(ref object o)
        {
            return huqiang.UIComposite.DockPanel.LineWidth;
        }

        static StackObject* CopyToStack_LineWidth_1(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = huqiang.UIComposite.DockPanel.LineWidth;
            __ret->ObjectType = ObjectTypes.Float;
            *(float*)&__ret->Value = result_of_this_method;
            return __ret + 1;
        }

        static void set_LineWidth_1(ref object o, object v)
        {
            huqiang.UIComposite.DockPanel.LineWidth = (System.Single)v;
        }

        static StackObject* AssignFromStack_LineWidth_1(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Single @LineWidth = *(float*)&ptr_of_this_method->Value;
            huqiang.UIComposite.DockPanel.LineWidth = @LineWidth;
            return ptr_of_this_method;
        }

        static object get_lines_2(ref object o)
        {
            return ((huqiang.UIComposite.DockPanel)o).lines;
        }

        static StackObject* CopyToStack_lines_2(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.UIComposite.DockPanel)o).lines;
            object obj_result_of_this_method = result_of_this_method;
            if(obj_result_of_this_method is CrossBindingAdaptorType)
            {    
                return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
            }
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_lines_2(ref object o, object v)
        {
            ((huqiang.UIComposite.DockPanel)o).lines = (System.Collections.Generic.List<huqiang.UIComposite.DockPanelLine>)v;
        }

        static StackObject* AssignFromStack_lines_2(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Collections.Generic.List<huqiang.UIComposite.DockPanelLine> @lines = (System.Collections.Generic.List<huqiang.UIComposite.DockPanelLine>)typeof(System.Collections.Generic.List<huqiang.UIComposite.DockPanelLine>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            ((huqiang.UIComposite.DockPanel)o).lines = @lines;
            return ptr_of_this_method;
        }

        static object get_areas_3(ref object o)
        {
            return ((huqiang.UIComposite.DockPanel)o).areas;
        }

        static StackObject* CopyToStack_areas_3(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.UIComposite.DockPanel)o).areas;
            object obj_result_of_this_method = result_of_this_method;
            if(obj_result_of_this_method is CrossBindingAdaptorType)
            {    
                return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
            }
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_areas_3(ref object o, object v)
        {
            ((huqiang.UIComposite.DockPanel)o).areas = (System.Collections.Generic.List<huqiang.UIComposite.DockpanelArea>)v;
        }

        static StackObject* AssignFromStack_areas_3(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Collections.Generic.List<huqiang.UIComposite.DockpanelArea> @areas = (System.Collections.Generic.List<huqiang.UIComposite.DockpanelArea>)typeof(System.Collections.Generic.List<huqiang.UIComposite.DockpanelArea>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            ((huqiang.UIComposite.DockPanel)o).areas = @areas;
            return ptr_of_this_method;
        }

        static object get_Left_4(ref object o)
        {
            return ((huqiang.UIComposite.DockPanel)o).Left;
        }

        static StackObject* CopyToStack_Left_4(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.UIComposite.DockPanel)o).Left;
            object obj_result_of_this_method = result_of_this_method;
            if(obj_result_of_this_method is CrossBindingAdaptorType)
            {    
                return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
            }
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_Left_4(ref object o, object v)
        {
            ((huqiang.UIComposite.DockPanel)o).Left = (huqiang.UIComposite.DockPanelLine)v;
        }

        static StackObject* AssignFromStack_Left_4(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            huqiang.UIComposite.DockPanelLine @Left = (huqiang.UIComposite.DockPanelLine)typeof(huqiang.UIComposite.DockPanelLine).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            ((huqiang.UIComposite.DockPanel)o).Left = @Left;
            return ptr_of_this_method;
        }

        static object get_Right_5(ref object o)
        {
            return ((huqiang.UIComposite.DockPanel)o).Right;
        }

        static StackObject* CopyToStack_Right_5(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.UIComposite.DockPanel)o).Right;
            object obj_result_of_this_method = result_of_this_method;
            if(obj_result_of_this_method is CrossBindingAdaptorType)
            {    
                return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
            }
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_Right_5(ref object o, object v)
        {
            ((huqiang.UIComposite.DockPanel)o).Right = (huqiang.UIComposite.DockPanelLine)v;
        }

        static StackObject* AssignFromStack_Right_5(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            huqiang.UIComposite.DockPanelLine @Right = (huqiang.UIComposite.DockPanelLine)typeof(huqiang.UIComposite.DockPanelLine).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            ((huqiang.UIComposite.DockPanel)o).Right = @Right;
            return ptr_of_this_method;
        }

        static object get_Top_6(ref object o)
        {
            return ((huqiang.UIComposite.DockPanel)o).Top;
        }

        static StackObject* CopyToStack_Top_6(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.UIComposite.DockPanel)o).Top;
            object obj_result_of_this_method = result_of_this_method;
            if(obj_result_of_this_method is CrossBindingAdaptorType)
            {    
                return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
            }
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_Top_6(ref object o, object v)
        {
            ((huqiang.UIComposite.DockPanel)o).Top = (huqiang.UIComposite.DockPanelLine)v;
        }

        static StackObject* AssignFromStack_Top_6(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            huqiang.UIComposite.DockPanelLine @Top = (huqiang.UIComposite.DockPanelLine)typeof(huqiang.UIComposite.DockPanelLine).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            ((huqiang.UIComposite.DockPanel)o).Top = @Top;
            return ptr_of_this_method;
        }

        static object get_Down_7(ref object o)
        {
            return ((huqiang.UIComposite.DockPanel)o).Down;
        }

        static StackObject* CopyToStack_Down_7(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.UIComposite.DockPanel)o).Down;
            object obj_result_of_this_method = result_of_this_method;
            if(obj_result_of_this_method is CrossBindingAdaptorType)
            {    
                return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
            }
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_Down_7(ref object o, object v)
        {
            ((huqiang.UIComposite.DockPanel)o).Down = (huqiang.UIComposite.DockPanelLine)v;
        }

        static StackObject* AssignFromStack_Down_7(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            huqiang.UIComposite.DockPanelLine @Down = (huqiang.UIComposite.DockPanelLine)typeof(huqiang.UIComposite.DockPanelLine).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            ((huqiang.UIComposite.DockPanel)o).Down = @Down;
            return ptr_of_this_method;
        }

        static object get_LineMod_8(ref object o)
        {
            return ((huqiang.UIComposite.DockPanel)o).LineMod;
        }

        static StackObject* CopyToStack_LineMod_8(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.UIComposite.DockPanel)o).LineMod;
            object obj_result_of_this_method = result_of_this_method;
            if(obj_result_of_this_method is CrossBindingAdaptorType)
            {    
                return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
            }
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_LineMod_8(ref object o, object v)
        {
            ((huqiang.UIComposite.DockPanel)o).LineMod = (huqiang.Data.FakeStruct)v;
        }

        static StackObject* AssignFromStack_LineMod_8(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            huqiang.Data.FakeStruct @LineMod = (huqiang.Data.FakeStruct)typeof(huqiang.Data.FakeStruct).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            ((huqiang.UIComposite.DockPanel)o).LineMod = @LineMod;
            return ptr_of_this_method;
        }

        static object get_AreaMod_9(ref object o)
        {
            return ((huqiang.UIComposite.DockPanel)o).AreaMod;
        }

        static StackObject* CopyToStack_AreaMod_9(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.UIComposite.DockPanel)o).AreaMod;
            object obj_result_of_this_method = result_of_this_method;
            if(obj_result_of_this_method is CrossBindingAdaptorType)
            {    
                return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
            }
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_AreaMod_9(ref object o, object v)
        {
            ((huqiang.UIComposite.DockPanel)o).AreaMod = (huqiang.Data.FakeStruct)v;
        }

        static StackObject* AssignFromStack_AreaMod_9(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            huqiang.Data.FakeStruct @AreaMod = (huqiang.Data.FakeStruct)typeof(huqiang.Data.FakeStruct).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            ((huqiang.UIComposite.DockPanel)o).AreaMod = @AreaMod;
            return ptr_of_this_method;
        }

        static object get_LineLevel_10(ref object o)
        {
            return ((huqiang.UIComposite.DockPanel)o).LineLevel;
        }

        static StackObject* CopyToStack_LineLevel_10(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.UIComposite.DockPanel)o).LineLevel;
            object obj_result_of_this_method = result_of_this_method;
            if(obj_result_of_this_method is CrossBindingAdaptorType)
            {    
                return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
            }
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_LineLevel_10(ref object o, object v)
        {
            ((huqiang.UIComposite.DockPanel)o).LineLevel = (huqiang.Core.HGUI.UIElement)v;
        }

        static StackObject* AssignFromStack_LineLevel_10(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            huqiang.Core.HGUI.UIElement @LineLevel = (huqiang.Core.HGUI.UIElement)typeof(huqiang.Core.HGUI.UIElement).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            ((huqiang.UIComposite.DockPanel)o).LineLevel = @LineLevel;
            return ptr_of_this_method;
        }

        static object get_AreaLevel_11(ref object o)
        {
            return ((huqiang.UIComposite.DockPanel)o).AreaLevel;
        }

        static StackObject* CopyToStack_AreaLevel_11(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.UIComposite.DockPanel)o).AreaLevel;
            object obj_result_of_this_method = result_of_this_method;
            if(obj_result_of_this_method is CrossBindingAdaptorType)
            {    
                return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
            }
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_AreaLevel_11(ref object o, object v)
        {
            ((huqiang.UIComposite.DockPanel)o).AreaLevel = (huqiang.Core.HGUI.UIElement)v;
        }

        static StackObject* AssignFromStack_AreaLevel_11(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            huqiang.Core.HGUI.UIElement @AreaLevel = (huqiang.Core.HGUI.UIElement)typeof(huqiang.Core.HGUI.UIElement).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            ((huqiang.UIComposite.DockPanel)o).AreaLevel = @AreaLevel;
            return ptr_of_this_method;
        }

        static object get_LayOutChanged_12(ref object o)
        {
            return ((huqiang.UIComposite.DockPanel)o).LayOutChanged;
        }

        static StackObject* CopyToStack_LayOutChanged_12(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.UIComposite.DockPanel)o).LayOutChanged;
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_LayOutChanged_12(ref object o, object v)
        {
            ((huqiang.UIComposite.DockPanel)o).LayOutChanged = (System.Action<huqiang.UIComposite.DockPanel>)v;
        }

        static StackObject* AssignFromStack_LayOutChanged_12(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Action<huqiang.UIComposite.DockPanel> @LayOutChanged = (System.Action<huqiang.UIComposite.DockPanel>)typeof(System.Action<huqiang.UIComposite.DockPanel>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)8);
            ((huqiang.UIComposite.DockPanel)o).LayOutChanged = @LayOutChanged;
            return ptr_of_this_method;
        }

        static object get_LockLayout_13(ref object o)
        {
            return ((huqiang.UIComposite.DockPanel)o).LockLayout;
        }

        static StackObject* CopyToStack_LockLayout_13(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.UIComposite.DockPanel)o).LockLayout;
            __ret->ObjectType = ObjectTypes.Integer;
            __ret->Value = result_of_this_method ? 1 : 0;
            return __ret + 1;
        }

        static void set_LockLayout_13(ref object o, object v)
        {
            ((huqiang.UIComposite.DockPanel)o).LockLayout = (System.Boolean)v;
        }

        static StackObject* AssignFromStack_LockLayout_13(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Boolean @LockLayout = ptr_of_this_method->Value == 1;
            ((huqiang.UIComposite.DockPanel)o).LockLayout = @LockLayout;
            return ptr_of_this_method;
        }



        static StackObject* Ctor_0(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* __ret = ILIntepreter.Minus(__esp, 0);

            var result_of_this_method = new huqiang.UIComposite.DockPanel();

            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }


    }
}
